<script setup lang="ts">
import { useRoute } from 'vue-router'
import useFetch from '@/hooks/useFetch'
const { params } = useRoute()

const { data } = useFetch('/api/v1/MK/getVideoPlayUrl', {
  method:"POST",
  defaultParams: { projectId: params.id },
})
console.log("data",data)
</script>

<template>
  <iframe class="w-screen h-screen" :src="data?.url"></iframe>
</template>
